<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GrPPI: Farm pattern</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">0.2</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Modules</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Farm pattern<div class="ingroups"><a class="el" href="group__stream__patterns.html">Streaming patterns</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Interface for applyinng the <a class="el" href="md_farm.html">Farm pattern</a>.  
<a href="#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Farm pattern:</div>
<div class="dyncontent">
<center><table><tr><td><img src="group__farm__pattern.png" border="0" alt="" usemap="#group____farm____pattern"/>
<map name="group____farm____pattern" id="group____farm____pattern">
<area shape="rect" id="node1" href="group__farm__pattern__tbb.html" title="TBB parallel implementation of the Farm pattern. " alt="" coords="329,5,496,32"/>
<area shape="rect" id="node2" href="group__farm__pattern__native.html" title="Sequential implementation of the Farm pattern. " alt="" coords="345,57,480,98"/>
<area shape="rect" id="node3" href="group__stream__patterns.html" title="Patterns for data stream processing. " alt="" coords="5,123,137,149"/>
<area shape="rect" id="node4" href="group__farm__pattern__seq.html" title="Sequential implementation of the Farm pattern. " alt="" coords="334,123,491,149"/>
<area shape="rect" id="node5" href="group__farm__pattern__poly.html" title="Polymorphic execution implementation of the Farm pattern. " alt="" coords="335,174,490,215"/>
<area shape="rect" id="node6" href="group__farm__pattern__omp.html" title="OpenMP implementation of the Farm pattern. " alt="" coords="339,239,487,281"/>
</map>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group__farm__pattern__native"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__farm__pattern__native.html">Native parallel farm pattern</a></td></tr>
<tr class="memdesc:group__farm__pattern__native"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sequential implementation of the <a class="el" href="md_farm.html">Farm pattern</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__farm__pattern__omp"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__farm__pattern__omp.html">OpenMP parallel farm pattern</a></td></tr>
<tr class="memdesc:group__farm__pattern__omp"><td class="mdescLeft">&#160;</td><td class="mdescRight">OpenMP implementation of the <a class="el" href="md_farm.html">Farm pattern</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__farm__pattern__poly"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__farm__pattern__poly.html">Polymorphic execution farm pattern</a></td></tr>
<tr class="memdesc:group__farm__pattern__poly"><td class="mdescLeft">&#160;</td><td class="mdescRight">Polymorphic execution implementation of the <a class="el" href="md_farm.html">Farm pattern</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__farm__pattern__seq"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__farm__pattern__seq.html">Sequential farm pattern</a></td></tr>
<tr class="memdesc:group__farm__pattern__seq"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sequential implementation of the <a class="el" href="md_farm.html">Farm pattern</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__farm__pattern__tbb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__farm__pattern__tbb.html">TBB parallel farm pattern</a></td></tr>
<tr class="memdesc:group__farm__pattern__tbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">TBB parallel implementation of the <a class="el" href="md_farm.html">Farm pattern</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga26bdb7c1b6c3d4bedbcfc1774d00833c"><td class="memTemplParams" colspan="2">template&lt;typename Execution , typename Transformer &gt; </td></tr>
<tr class="memitem:ga26bdb7c1b6c3d4bedbcfc1774d00833c"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__farm__pattern.html#ga26bdb7c1b6c3d4bedbcfc1774d00833c">grppi::farm</a> (Execution &amp;ex, Transformer &amp;&amp;transform_op)</td></tr>
<tr class="memdesc:ga26bdb7c1b6c3d4bedbcfc1774d00833c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_farm.html">Farm pattern</a> on a data stream that can be composed in other streaming patterns.  <a href="group__farm__pattern.html#ga26bdb7c1b6c3d4bedbcfc1774d00833c">More...</a><br /></td></tr>
<tr class="separator:ga26bdb7c1b6c3d4bedbcfc1774d00833c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Interface for applyinng the <a class="el" href="md_farm.html">Farm pattern</a>. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga26bdb7c1b6c3d4bedbcfc1774d00833c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Execution , typename Transformer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">auto grppi::farm </td>
          <td>(</td>
          <td class="paramtype">Execution &amp;&#160;</td>
          <td class="paramname"><em>ex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer &amp;&amp;&#160;</td>
          <td class="paramname"><em>transform_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_farm.html">Farm pattern</a> on a data stream that can be composed in other streaming patterns. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Execution</td><td>Execution policy type. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable type for the transformation operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Execution policy object. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformer operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
